package com.peng._05mvcboot02.common.response;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * @Author peng
 * @Date 2024-04-25 17:21
 */
@AllArgsConstructor
@Getter
public enum StatusCode {
    SUCCESS(200,"成功"),
    ERROR(500,"失败");
    private final Integer code;
    private final String msg;
}
